package com.cems.service;/*
 *
 *@auth  wenzhao
 *@date 2021/5/17  19:31
 */

import com.cems.pojo.*;
import com.cems.pojo.ComUser;
import com.cems.pojo.ForumArticle;
import com.cems.pojo.SysEntrust;
import com.cems.pojo.SysUser;
import com.cems.pojo.SysUserMessage;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface UserService {


    List<SysUserMessage> getUserMessages();

    List<SysUser> getUser();

    void addUser(HashMap<String, String> map, String phone, String pwd, String emil);


    ComUser selOneUser(int useId);

    SysUser selOneSysUser(int id);

    int revOneUser(Map<String,Object> map);

    int revOneSysUser(Map<String,Object> map);


    List<SysEntrust> getEtrust();

    void upUserStatus(int id, String status);

    void upEtrustStatus(Integer entrustId, String entState);

    SysUser selOneSysUserByPhone(String userPhone);

    List<SysEntrust> getAllEtrustType();

    List<SysEntrust> byEntrustByType(Integer typeID);
    String findStatus(String phone);


    void shensu(String phone, String content);


    int zhaohuicheck(String phone, String email);

    void zhaohuo(String phone, String newpwd1);

    List<SysEcharts> selSysGraph(String adminType);

    int setSysLoginGraph(Map<String,Object> map);

    SysEcharts selOneSysSuc(int id);
    int insertSysSuc(int id);

}
